Normally, a victory over the worst team in the league would not be a big reason to celebrate for a team that believes itself to be a Stanley Cup contender.

But with the Bruins struggling to find their game amidst the turmoil and emotional aftermath of the Boston Marathon bombings, it was quite understandable that there were some happy faces yesterday at the Garden.

The Bruins took what they hope was another step toward playoff form with a 3-0 victory against the Florida Panthers. The B’s got a goal in each period — from Jaromir Jagr, defenseman Dougie Hamilton and Brad Marchand (empty-netter) — and goalie Tuukka Rask bounced back from a subpar game in Saturday’s loss to the Pittsburgh Penguins to grab No. 1 star honors with a 28-save shutout performance.

The win snapped a four-game losing streak (0-3-1) and, even though they may not have played quite as well as they did in losses to the Buffalo Sabres and Pittsburgh, the Bruins played more than well enough to take the two points and move into first pace in the Northeast Division by virtue of the game in hand they have on the Montreal Canadiens.

“The last few days were emotional games, everyone’s thrown off whack, but we played really well,” defenseman Andrew Ference said. “When we lost, it was extra frustrating because guys wanted so bad to have people leave the rink with an extra positive feeling. And we had played better than we had in the previous month in both those games. . . . Today was nice to end on a positive note. Everyone has smiles on their faces, you get the win, you get the two points and you get a pretty good effort. It’s good.