CLEVELAND — LeBron James scored 22 points and Mike Miller, making his first start of the season, added 21 on seven 3-pointers, leading the Cleveland Cavaliers to a 95-91 win over the Brooklyn Nets on Friday night.

James, who moved into 23rd place on the all-time scoring list, scored eight points in the fourth quarter as the Cavaliers bounced back from their biggest loss of the season Wednesday against Atlanta.

Joe Johnson led the Nets with 26 points. Brooklyn guard Deron Williams limped off the court in the second quarter with a strained right calf and didn't return.

Brooklyn cut an eight-point lead to 94-91 on Johnson's 3-pointer with 41 seconds remaining. The Cavaliers committed a turnover, but Kevin Garnett missed a contested 3-pointer and James split two free throws with 1.3 seconds left.