"I think it was a greasy goal, a point shot off about three guys," Hayes said. "(I) just tipped it in. That was definitely puck luck, for sure."
Chris Kreider scored for the Rangers (18-9-1) and has three goals and two assists in his past four games. Antti Raanta made 17 saves; he is 6-1-0 in eight starts.
WATCH: All Rangers vs. Jets highlights
The Rangers scored twice on the power play after going 0-for-6 Tuesday in a 4-2 loss to the New York Islanders. The Rangers are 9-0-1 after a loss.
Mark Scheifele, playing for the first time in four games, scored for the Jets (13-14-3). Michael Hutchinson allowed two goals on 24 shots.
"We had a lot of good [offensive] zone time in the second period," Scheifele said. "It was a great shot by [defenseman Paul Postma]. I was in the right place at the right time. We had an unlucky bounce at the end. It's tough to lose that way.
Kreider scored his third goal in his past three games to give the Rangers a 1-0 lead on the power play. With Scheifele in the box for interference, Mats Zuccarello found Derek Stepan with a cross-ice pass. Stepan quickly passed back across the ice to Kreider, whose tip in finished the tic-tac-toe play at 8:02.
Scheifele tied the game 1-1 at 9:51 of the second period. Postma's point shot was stopped by Raanta, but the rebound fell to Scheifele, who was in front of the Rangers net.