Jiri Hudler scored late in regulation to start Calgary's comeback and then got the deciding goal in the shootout to lift the Flames to 5-4 win over the New Jersey Devils on Saturday night.

Trailing 4-2, Flames coach Bob Hartley aggressively pulled goaltender Karri Ramo with just under 4 minutes remaining in regulation. Hudler scored from the side of the net with 2:22 left, and Curtis Glencross' second goal of the game tied it with 5 seconds to go

In the shootout, both teams scored once in the first three shooters before Hudler sent a shot past Devils goalie Scott Clemmensen to put Calgary ahead. Ramo clinched the victory by stopping Travis Zajac.

Josh Jooris also scored for Calgary, which finished 4-1 on a five-game homestand.

Adam Henrique, Mike Cammalleri, Zajac and Tuomo Ruuto scored for New Jersey, which is 1-1-1 on a four-game trip that concludes Tuesday at Vancouver.