NEWARK, N.J. — Hours before the Montreal Canadiens bounced back from what Martin St. Louis termed to be “pretty much the worst” game they’d played this season, the coach sung his most common refrain.

“All team sports are the same,” St. Louis began. “I didn’t invent these rules of being in space and breaking pressure with being in balance on the ice.

When you play inside that, you raise your percentages of having success and you get the bounces. When you don’t do that, your percentages of having success go down and you go looking for bounces.

When you do things the right way, you get goals and bounces and a high percentage of success.”

That was what he said at his morning media availability. It was also the same message he delivered to his team right before it — guiding them through video of how they were out of balance in Monday’s 3-1 loss to the New York Rangers, explaining how they didn’t present the proper options to each other without the puck and therefore forced plays with it, and emphasizing that if they just returned to applying the basic principles of team sports against the New Jersey Devils, it would ensure Monday’s game was a one-off.

Then St. Louis shuffled one player on each of his four lines and two of his three defence pairings, and the Canadiens went out and proved to themselves that if they play the way they’re supposed to, it doesn’t matter who they're on the ice with.

They did it to beat a red-hot Devils team 3-2, handing Connor Hellebuyck his first loss in his eight games in their uniform.

“I think it’s proof our template works,” said Alex Newhook, who tied the game 1-1 just 40 seconds after Luke Evangelista opened the scoring.

It was one of the nicest goals of the season, a display of incredible patience and deception.

It never would’ve happened had Newhook not properly positioned himself as Lane Hutson pinched down the wall to corral the puck and earn his first of three assists in the game.

The Canadiens were way off balance on their first two power plays of game, which was on trend with what they showed over four proceeding games without a power-play goal.

But if you watch the goal Nick Suzuki scored to break that drought, after Brenden Dillon took New Jersey’s third consecutive penalty late in the first period, you’ll see the Canadiens perfectly set like the five on a dice cube before Hutson’s shot tips off Suzuki’s stick.

“Just took what they gave us,” said St. Louis. “A shooting lane, had somebody there.”

Good bounce, no doubt.

But if you put yourself in the right place, you get good bounces.

When the Canadiens didn’t, there was Jacob Fowler to rescue them.

The 21-year-old goaltender didn’t love his performance against the Rangers. He also said he didn’t like the goal he gave up to Evangelista.

But he matched Hellebuyck save for save — and even made three more on the night than the former Vezina winner.

“He’s a guy that when you play against him,” said Fowler, “in your head you’re thinking you can’t give any free ones.”

The Canadiens had to earn theirs, with Newhook and Suzuki scoring tying goals in the first, and Jake Evans scoring the winner on a tic-tac-toe play started by Hutson and Oliver Kapanen.

All of them played well, and in proper balance — and we’re not just referring to those five players.

It was everyone on the Canadiens, including Brett Berard, who’d been recalled from the Laval Rocket Sunday and was outstanding in his Montreal debut.

Even if he only played 7:22.

“He brought us energy at both ends of the ice and fit in very well,” St. Louis said. “It’s a credit to the work they’re doing in Laval.”

The Rocket play the team game just the way the Canadiens do, hence why they’re 13-3-2, first in their division and second in the AHL standings.

After looking uncharacteristically sloppy against the Rangers Monday, the Canadiens looked more like the team we’ve seen for most their season; a team that’s now 13-5-4, in a three-way tie for most points in the Atlantic Division (30) and tied for the fifth-best points percentage (.682) with the Ottawa Senators and, you guessed it, the Devils.

New Jersey’s coach Sheldon Keefe had this to say about them: “They’re just a very good team. They’re a deep team.

They’re missing some important people, but they’re still very good, very dangerous. They’re very deep down the middle of the ice.

Three centres right down the middle. I’m not as familiar with Kapanen, but the other three — dominant in the face-off dot, very responsible, smart defensively.

They’ve got lots of skill and speed, too.”

“They play very well, they’re very organized,” Keefe added. “There’s a reason why we were all watching them play pretty deep into the playoffs.”

The Canadiens got away from all that Monday.

On Wednesday, it was clear they understood why and fixed it.

“When you apply (the rules of team sports), you can execute a lot better,” said St. Louis. “I thought it was night and day in terms of execution.”

MORE FROM SPORTSNET

Canadiens’ Bolduc exits vs. Devils with upper-body injury

Canucks’ Brock Boeser embracing leadership role amid rebuilding season