LeBron James scores 39 points, Dwyane Wade dishes out a career-best eight steals as the Heat edge the Mavericks 110-104.