Patrik Berglund scored twice, including the go-ahead goal in the second period, and Ty Rattie netted his first NHL goal to lead the St. Louis Blues to a 5-2 win over the New Jersey Devils on Tuesday night.

Scottie Upshall and David Backes also scored for St. Louis, which converted on its first two power-play attempts. The Blues won in regulation for the first time since Dec. 22.

St. Louis also won its fifth in a row against New Jersey, which lost for the fourth time in five games.

Brian Elliott made 22 saves and earned his second successive win after taking over for Jake Allen, who is out with a knee injury. Elliott improved to 7-4-4.

Berglund returned to the lineup Jan. 2 after missing 40 games with a shoulder injury. It was the 10th multigoal game of his career and first since April 3.

Lee Stempniak and Bobby Farnham scored for New Jersey. Backup goalie Keith Kinkaid made 32 saves but fell to 3-5. He was making his eighth start of the season.

Berglund tipped in a shot from Alex Pietrangelo with 2:46 left in the second period to break a 2-all tie.

Rattie deflected a shot from Kevin Shattenkirk early in the third to make it 4-2. Backes added an empty-net goal with 36 seconds left.

The Devils scored twice in a 2:35 span in the second period to go ahead 2-1.

Berglund gave the Blues a 1-0 lead by converting off a scramble in front midway through the opening period.

The Devils' last victory in St. Louis was a 4-3 triumph on Dec. 30, 2008.

NOTES: St. Louis coach Ken Hitchcock earned his 200th win with the Blues. ... The crowd took up a negative chant aimed at Rams owner Stan Kroenke on several occasions in the third period after news spread about the football team moving to Los Angeles. ... New Jersey LW Mike Cammalleri missed his sixth consecutive game with an upper-body injury. ... Allen was injured Friday against Anaheim. He is expected to miss at least two weeks. Jordan Binnington was recalled from the Chicago Wolves of the AHL to serve as Elliott's backup. ... The Blues played the first of five successive games against Eastern Conference foes. ... The Blues' previous four games all went to overtime, trying a franchise record. ... The Blues went six straight games without a third-period goal before Rattie scored at 2:21. ... New Jersey went 17:07 without a shot during the second and third periods.