Jefferson scores 23, Hayward adds 22 to help Jazz stop Heat 104-97

Utah Jazz center Al Jefferson (25) shoots as Miami Heat forward LeBron James (6) and guard Mario Chalmers, right, look on in the fourth quarter during an NBA basketball game Monday, Jan. 14, 2013, in Salt Lake City. The Jazz defeated the Heat 104-97. (AP Photo/Rick Bowmer) (The Associated Press)

Utah Jazz guard Gordon Hayward (20) shoots as Miami Heat center Joel Anthony (50) defends in the fourth quarter during an NBA basketball game Monday, Jan. 14, 2013, in Salt Lake City. The Jazz defeated the Heat 104-97. (AP Photo/Rick Bowmer) (The Associated Press)

Al Jefferson scored 23 points, Gordon Hayward added 22 — including a jumper with 40 seconds remaining — and the Utah Jazz held on to beat the Miami Heat 104-97 on Monday night.

The Heat were down 21 points in the third quarter but fought back to pull within two behind a 32-point effort by LeBron James. However, James was called for goaltending and an offensive foul on back-to-back possessions late, then missed a 3-pointer with Miami down six with 2:19 left.

Hayward's fadeaway 14-footer gave Utah the cushion it needed.

The Jazz were shooting 67.6 percent at halftime but made only 4 of 19 in the fourth to let the Heat back into the game.

Utah held a 40-23 advantage on the boards, and 47-26 edge in bench scoring.

Chris Bosh added 16 points for Miami and Rashard Lewis had 13 off the bench.