Game on the line, LeBron James knew he was going to get to the rim. And he delivered. James scored 26 points, including a go-ahead layup after getting past DeQuan Jones with 3.2 seconds left, and the Heat scrambled late to beat the Orlando Magic 97-96 on Wednesday night and extend their franchise-record winning streak to 16 games.