BOSTON - After failing to get off to a quick start and a nearly poor finish, the Boston Bruins rallied for a victory that they found difficult to celebrate.

Dougie Hamilton scored 3:39 into overtime, giving the Bruins a 2-1 win over Winnipeg on Friday night after giving the Jets a four-minute power play late in regulation.

"I think we really wanted a good start, didn't have it and squeaked the two points like we have in the past," said Hamilton, who also had an assist on Milan Lucic's goal that tied it early in the third period. "I don't know how we do it, but two points is two points, I guess."

Tuukka Rask had 35 saves, including 15 in the third period and one more in overtime near the end of the Jets' golden opportunity to win it.

Rask gloved a shot by Andrew Ladd 27 seconds into overtime, and instead of holding on for a whistle, darted out of the crease and dumped the puck out of Boston's zone.

"You're just in survival mode there," Rask said. "You try to secure that point, and we did a pretty good job for the most part, but we still had a lot of chances to get the puck out and we couldn't.

"We got it tied and then I think after that we still made some mistakes we had to clear, but (a) good way to find a win."

Carl Soderberg assisted on both goals for Boston, which has not lost to the Jets' franchise in Boston since the then-Atlanta Thrashers beat the Bruins 3-2 in March 2007.

Rask didn't allow anything to get past him after Dustin Byfuglien's power-play goal gave the Jets a 1-0 lead with 3:36 left in the first period.

"I thought we played all right," Byfuglien said. "We've played better. We let it get away from us."

Michael Hutchinson stopped 36 shots for Winnipeg, including a flurry of late chances for Boston that followed mistakes by the Jets.

Boston had the better opportunities following Brad Marchand's double-minor penalty with 3:30 left in the third when his stick clipped Grant Clitsome in the head behind the Jets' net.

Boston almost converted it into a short-handed goal with 30 seconds remaining in regulation. Daniel Paille stole the puck from Hutchinson and passed it toward Gregory Campbell in the slot, but Hutchinson recovered with a glove save. The Bruins also missed on a pair of rebounds early in overtime.

"We had chances all game long," said Hutchinson, a third-round draft pick for Boston in 2008. "They had a couple pushes here and there and they had some chances, too, but I thought it was a good hockey game. Both teams had chances, and Tuukka (Rask) is a good goalie. He is going to make you work for every goal you get."

Boston tied it 1-1 on Lucic's goal 3:05 into the third on a give-and-go with Carl Soderberg, whose pass back to Lucic in front of the net set up an easy backhanded tip. Hamilton also got an assist.

It was Boston's first goal since Lucic and Joe Morrow scored 28 seconds apart early in the second period of a 3-2 overtime loss to Pittsburgh on Monday night.

NOTES: The floor crew at TD Garden had to do a quick turnaround following the Boston Celtics' 109-102 loss to Chicago on Friday afternoon. ... Winnipeg LW Adam Lowry served his one-game suspension for a hit on Patrick Kaleta in Buffalo on Wednesday. He was assessed a major penalty for boarding and was ejected. ... Boston C Chris Kelly returned after missing two games with an undisclosed upper-body injury. ... The Bruins played their last of four of five at home before starting a four-game Western Conference trip Monday in Anaheim.