Brayden Schenn scored at 1:50 of overtime and the Philadelphia Flyers beat the Devils 3-2 on Tuesday night after giving up a late short-handed goal that forced the extra session.
Claude Giroux and Scott Hartnell also scored for Philadelphia, which ended a six-game road trip with a 5-1 record. Ray Emery made 31 saves and won for the eighth time in nine games.
Michael Ryder tied it at 2 on a short-handed goal with 30 seconds left in regulation. It came on a great feed from defenseman Marek Zidlicky, with goalie Martin Brodeur on the bench for an extra skater.
Adam Henrique also scored for New Jersey, which is 0-2-1 in its last three games.
Schenn's game-winner was set up by a great back-door pass by defenseman Nicklas Grossman from the left point. He saw Schenn moving down the right side and found the center in the right circle for a shot that beat Brodeur, who had 25 saves.
Brodeur had made a close-in save on Schenn on a late power play to keep New Jersey in the game.
With Brodeur on the bench, Zidlicky found Ryder down low for the tying goal.
However, Schenn, who was cut across the stomach with a skate earlier in the game, got his revenge.
Giroux, passed over for the Canadian Olympic team earlier in the day, tied it 1-all with a power-play goal at 5:18. Hartnell, who has points in eight straight games, gave the Flyers a 2-1 lead with a shot from the left circle on a quick counterattack.
The Devils' chances of tying the game seemed dim when Travis Zajac high-sticked Giroux with less than 2 minutes to play, but they found a way.
The Flyers were unable to capitalize on a 1:44 power-play advantage at the start of the third period, but they didn't fail when Devils defenseman Mark Fayne was called for interference at 4:27.
Less than a minute into the extra-man advantage, Giroux rifled a shot from the top of the left circle that beat Brodeur into the top corner of the net. The goalie, who was seeking his 125th career shutout, may not have had a good view of the shot with Hartnell and Wayne Simmonds screening him.
It was Giroux's 13th goal of the season and it gave the Flyers' captain a team-high 39 points.
Hartnell made the breakout pass out of the Flyers' zone to Schenn and he hustled up the ice to take a return pass that he quickly put into the net for his 10th goal.
The Devils took a 1-0 lead in the opening minute of the game on a great individual effort by Jaromir Jagr. He skated around a Flyers defenseman in the right circle and centered the puck across the crease. It tipped Ryan Clowe's stick, and Henrique came out from behind the net to tap it in for his fourth goal in six games.
The point was the 1,723rd of Jagr's career, tying him with former Pittsburgh Penguins teammate Mario Lemieux for seventh in NHL history.