LeBron James scored 32 points, while Dwyane Wade had 30 to lead the Heat to a 107-97 win over the Lakers.