PHILADELPHIA -- The Philadelphia Flyers are turning into comeback kings.
Erik Gustafsson scored the go-ahead goal 90 seconds after Wayne Simmonds tied it late in the third period, and the Flyers rallied for a 5-3 victory over the Montreal Canadiens on Wednesday night at Wells Fargo Center.
Sean Couturier, Simon Gagne and Jakub Voracek also had goals for Philadelphia (16-17-3), which has won three straight games for the first time this season and two in a row after trailing in the final minutes.
The Flyers closed within four points of the three teams that are tied for the final two playoff positions in the East. They're in danger of missing the playoffs for the first time since 2007 and the second time in 18 years.
"We won't give up," Couturier said. "We still have a chance, and if we keep winning, we'll be right back in the mix. We can only control what we can control by us winning games. We can't focus too much on what's going on around the league. We got to make our own destiny, and we still have a chance, so it's good for us."
Brandon Prust and David Desharnais scored 20 seconds apart in the second period to give Montreal a 3-2 lead. Alexei Emelin also had a goal for the Canadiens (23-8-5), who are second in the Eastern Conference.
"We just didn't match their intensity, it's just that simple," Canadiens coach Michel Therrien said. "They deserved to win. When you generate six shots on net in the second and third periods (combined), you won't win many games. They just deserved to win tonight."
Simmonds got the tying goal with 5:06 left when Bruno Gervais' slap shot hit Simmonds' skate and trickled past goaltender Carey Price.
Then Gustafsson made a nifty move to score up the go-ahead goal with 3:36 to go. He skated in, deked defenseman Davis Drewiske and flipped a pass toward Matt Read that hit off defenseman Francis Bouillon's left skate and went in. Read was credited with the goal before it was changed to Gustafsson after the game.
Voracek then added an empty-net goal with 39 seconds remaining.
"We called ourselves the comeback kids last year, and it's another comeback kids win tonight," Read said.
The Flyers overcame a two-goal deficit to beat the Washington Capitals on Sunday, scoring the tying goal in the final seconds and the winner in overtime.
"We have a never-quit attitude, and we're getting rewarded for it," Philadelphia forward Brayden Schenn said. "It doesn't matter if we're down two or up one, we're still working hard in the third periods and trying to win hockey games. We got to keep it going."
Just 46 seconds after Gagne whacked in a rebound to give the Flyers a 2-1 lead in the second period, Prust scored to tie it. Jeff Halpern set it up with a crossing pass to Prust, who ripped a shot inside the near post.
Desharnais then got a fluke goal when his slap shot from the left side deflected off Brayden Schenn and sailed over goaltender Ilya Bryzgalov's head to put the Canadiens up 3-2. Bryzgalov ducked and threw his arms up as the puck fluttered toward his mask.
"We got a couple bounces there and they led to a couple goals we had, but we weren't playing good hockey most the game," Canadiens forward Brian Gionta said. "We didn't get clears, we didn't win enough battles along the wall, and it's going to come back to haunt you."
Emelin gave the Canadiens a 1-0 lead in the first with his third goal of the season.
The Flyers tied it at 1 early in the second period when Couturier scored his first goal in 27 games. Couturier's shot from the side of the net, bounced off goalie Price, hit defenseman P.K. Subban's leg and went in.
Price finished with 29 saves, while Bryzgalov had 14.
NOTES: The Flyers acquired Steve Mason from the Columbus Blue Jackets for Michael Leighton in a trade of backup goalies. Mason will back up Bryzgalov, who made his 20th straight start. ... Forward Max Talbot (broken left leg) joined forward Danny Briere (concussion) and defensemen Andrej Meszaros (shoulder), Braydon Coburn (shoulder) and Nicklas Grossmann (upper body) on Philadelphia's lengthy injury report. ... Emelin's goal was his first in 11 games. ... Prust, who recently returned after missing eight games with a shoulder injury, fought Zac Rinaldo in the first period.