LeBron James had 34 points and 10 assists, Dwyane Wade scored 19 points and the Miami Heat avenged a loss at Oklahoma City last week, rallying to beat the Thunder 98-93 on Wednesday night for their 17th straight home victory.