CLEVELAND — LeBron James scored 23 points Thursday to lead the Cleveland Cavaliers to a 114-88 victory over the Miami Heat that dimmed his former team's playoff hopes. James passed former Knicks center Patrick Ewing for 20th on the NBA's all-time scoring list with a hook shot in the first quarter. His 23 points in the game gave him 24,837 for his career. He also handed out seven assists and pulled down eight rebounds in the win over his former team, which turned even more damaging for the Heat with the departure of Dwyane Wade with a left knee injury in the second quarter. The Cavs' young star Kyrie Irving scored 23 points also, while Iman Shumpert added 17 points off the bench. Tristan Thompson pulled down 15 rebounds for the Cavaliers, who moved three and a half games ahead of idle Toronto for the second seed in the Eastern Conference playoffs. Luol Deng and Hassan Whiteside scored 17 points apiece for Miami, who are now in a virtual tie with Boston for the eighth and final playoff berth in the East with seven games left in the regular season. The Heat scored seven straight points early in the first quarter to take an early lead, but the Cavaliers took the lead for good on James's jump shot with 5:27 left in the quarter. Miami shot 54.5 percent from the field in the first half but still trailed 61-50 at the break. The Heat led 91-72 after three quarters and were never threatened in the fourth. But the biggest blow to the Heat could be the loss of Wade, who was dribbling near the baseline in the second quarter when his right foot slipped and his left knee buckled. Wade slipped to the ground in pain, eventually rising and walking off the court to the locker room. The Heat said the injury was a bruised left knee. Wade has battled knee trouble for several years and just had the same knee drained last Saturday. “It could have been worse,” said Wade, who said he still hopes he'll be ready to play at Detroit on Saturday. “I knew I was in trouble on my way down.” Rockets 108, Mavericks 101 Houston rallied late to score a comeback victory over Dallas at American Airlines Center, taking another step towards locking down the number two seed in the tough Western Conference. Dallas led 72-61 with 5:01 to go in the third quarter and Houston looked to be staring at a defeat until former Mavs forward Corey Brewer hopped off the bench and changed the flow of the game with his relentless energy. Brewer scored six points in the third quarter and eight in the fourth to give him 14 points on four-of-eight shooting from the field. He was one of five Rockets players to score in double figures. Warriors 107, Suns 106 Harrison Barnes hit a running shot in the lane with less than a second remaining, lifting the Golden State Warriors to a wild 107-106 win over the Phoenix Suns. Barnes' big shot came after Eric Bledsoe broke free for a reverse layup to put Phoenix ahead with 4.5 seconds to play. And Bledsoe's layup followed Stephen Curry's go-ahead 3-pointer that seemingly put the Warriors up for good. Instead, it took all 48 minutes for the NBA-leading Warriors (62-13) to extend their latest winning streak to 11 games. They fell behind by four in the final minutes and traded scores with the fading Suns (38-38) the rest of the way.— Agencies