CALGARY - When overtime started, Josh Jooris was sitting in the penalty box. When it ended, he was being mobbed by his teammates.

Jooris scored at 1:08 of overtime to lead the Calgary Flames to a wild 4-3 win over the Edmonton Oilers at the Scotiabank Saddledome on Wednesday.

"I was fortunate to come out of the box at the right time and they (Jiri Hudler and Dennis Wideman) just made a great play and I was able to put it in," said Jooris, who took a tripping penalty at 19:01 of the third period while Edmonton's Jeff Petry was sent to the box at the same time for embellishment.

"I was just hoping that we keep it in their zone and have possession of the puck when I came out of the box because it's either Petry has 15 feet on me or I have 15 feet on him."

Jooris jumped out of the box and took a pass from Hudler before wiring a shot into the top corner, glove side behind Edmonton goalie Ben Scrivens.

"We needed that two points and the fact that it came against a big rival in Edmonton, it's sweeter," said Jooris, who returned to the Calgary lineup after missing the past three games with an upper-body injury. "I haven't been a part of this rivalry for too long, but you feel it out there. You want to beat them every time."

Joe Colborne counted his second and third goals of the season — all against the Oilers — for the Flames (21-15-3).

"I knew sooner or later they were going to start to go in and it's nice to start getting some bounces," said Colborne, who scored his first goal of the season during a 4-1 win over the Oilers at the Saddledome four days earlier. "It's especially nice getting them against them, but I wouldn't mind having this success against some other teams, too."

Lance Bouma also scored, while Sean Monahan and Curtis Glencross chipped in with two assists each. Making his sixth consecutive start in net for the Flames, goalie Jonas Hiller made 17 saves to improve his record to 13-10-2.

Matt Fraser, Jordan Eberle and Andrew Ference scored for the Oilers (8-22-8), while goalie Scrivens stopped 24-of-28 shots he faced in a losing cause.

"Right now I love our starts," said Eberle, who ended a nine-game goalless drought. "I love the way we're competing for 40 minutes. It seems like the last two games, we've almost let them come at us and weather the storm and that's not how you win hockey games in this league. You keep going at teams. You continue to play the way that got you the lead."

Calgary built up a 5-1 advantage in shots in the first period, but couldn't get any pucks past Scrivens, who made 39 saves one night earlier to backstop the Oilers to a 3-2 shootout win over the L.A. Kings in Edmonton.

Edmonton opened the scoring at 16:06 of the first with a power-play goal by Fraser, who was claimed off waivers from the Boston Bruins on Tuesday. Hiller stopped the initial shot by David Perron before Fraser adeptly picked up the puck behind the net and banked it off the Calgary goalie and in.

"I think this team is pretty fragile right now," said Fraser after the loss. "I heard it a long time ago that losing can be contagious and part of that, being a new guy in here coming from an organization like Boston, is you've got to bring that element of your game when you're not content with losing.

"For myself, I've got to bring something every night so they can see that I want to be a guy that is a difference maker."

The Flames had a great chance to even the score after Edmonton defenceman Keith Aulie was assessed a five-minute major penalty and a game misconduct for a hit to the head on Matt Stajan with 54.2 seconds left in the first period.

Scrivens stopped a slap shot fired his way by Mark Giordano and then the rebound attempt by Glencross as time expired in the first. Early in the second on the same power play, Colborne tipped Wideman's point shot past Scrivens, but the Edmonton goalie recovered in time to smother the puck with his glove before it crossed the goal-line.

Eberle gave the Oilers a 2-0 lead at 10:28 of the second when he took a feed from Leon Draisaitl in the slot and lifted a shot over Hiller's blocker and into the Calgary net.

Colborne pulled the Flames within a goal with a power-play marker at 18:01 of the second when he converted a feed from Monahan.

Bouma tied things up at 4:28 of the third when he backhanded a shot from the slot past Scrivens, who stopped the initial shot taken by Paul Byron.

Ference then regained the lead for the Oilers when he took a pass from Draisaitl and blasted a low shot from the point past Hiller.

The see-saw battle continued when Colborne drove to the net and shovelled a shot through Scrivens' legs at 11:55 of the third.

Notes: Calgary now has an all-time record of 17-8-3 on games played on New Year's Eve. … The Flames improved to 8-11-1 when trailing after two periods. … Mason Raymond was a healthy scratch after failing to record a point in his past 13 games with the Flames. … Hudler extended his point-scoring streak to five straight games.