SAN JOSE, Calif. (AP) Brent Burns had a thought Friday's game was going to be a little different.
He just never imagined how much.
Burns got his first NHL hat trick and the Sharks ended a five-game home losing streak to St. Louis with a 6-3 victory over the Blues on Friday.
''We knew it was going to be a big game against these guys,'' Burns said. ''There was a lot of stuff going on, especially with the history. Two teams, we both feel we're at the top of our game. So it was big. It was pretty special.''
Joe Thornton, Tomas Hertl and Tommy Wingels also scored for the Sharks, who won their fourth straight and seven of eight.
Ian Cole scored his first goal in nearly two years as the Blues had their five-game winning streak halted. David Backes and Jaden Schwartz also scored for St. Louis.
Antti Niemi stopped 21 of 24 shots for his 14th win of the season. Brian Elliott took the loss, his first in eight games, after giving up four goals on 12 shots. He was lifted for Jaroslav Halak, who had 18 saves.
Joe Pavelski gave Burns the puck and then screened off Halak. Burns skated between two defenders and shot.
''The final goal, seemed to say, OK, I'm going to do something here,'' Burns said. ''It's just a black-out kind of a thing. Good play by Joe, I got in the zone. Quick shot. I don't really remember what happened.''
The Blues, who earned points in their previous nine games, were off to their best road start in franchise history, bringing a 7-2-1 mark into the game.
''It looked like we needed to set a few more alarm clocks this morning,'' Backes said. ''No matter what happened, we needed to have a better response. They punched us in the mouth in the first period.''
Burns scored 35 seconds into the game, taking a nice pass from Patrick Marleau and flipping the puck over Elliott's right shoulder. Logan Couture, who has not scored a goal in seven straight, started the sequence after intercepting a clearing pass.
Thornton scored a power-play goal at 3:01, the first allowed by the Blues in six games and just the second on the road. Couture took a shot that bounced off Elliott's pad and Pavelski flipped it out to Thornton, who beat Elliott to the glove side.
Burns scored his second goal of the game at 9:14 of the first, set up with a pass from Thornton.
''A big night for him,'' Sharks coach Todd McLellan said. ''He had a lot of energy early. It looks like he's getting back into where he was before. His minutes went up, he got back out on the power play. So, I'm more confident. He can shoot the puck, and his big body was needed against a strong team.''
Wingels picked up a flubbed pass to Jay Bouwmeester and had a give-and-go with Couture to make it 4-0, getting a good rebound off Elliott's glove and into the net at 11:27.
Cole, who last scored on Dec. 8, 2011, against the Anaheim Ducks, a span of 43 games, rattled the puck off the right post and had it trickle into the net.
The scoring sequence began when Halak made a terrific save and got the puck out to a streaking Roman Polak.
Backes, who took a 10-minute misconduct late in the second period, made it 4-2 with a power-play goal at 2:02 of the third period, with Derek Roy giving him a backhand pass to set up the score.
''They have brought us down to reality twice now,'' Backes said. ''We gained some back in the second and third but it was a matter of too little, too late. If you give any good team a four-goal lead you're asking for a loss.''
Schwartz drilled the puck off Niemi's glove on a give-and-go with Vladimir Sobotka to bring the Blues within one midway at 11:19 of the final period.
''We had opportunities to finish them out and didn't take advantage of them,'' McLellan said. ''And then we got sloppy at times. They're a first-place club for a reason. They're not going away. They weren't happy, obviously, with their first. They came back and played their game, and that's the type of team you've got to play against for the last 40 minutes.''
Hertl added an empty-net goal in the final minute.
NOTES: Thornton has 17 points in his past 15 games. ... The Blues allowed a third-period goal for the first time in eight games. Their 14 third-period goals allowed is the third fewest. ... Roy has points in five of six games. ... The Sharks scored their first power-play goal since Nov. 15, a span of seven games. ... Couture has not scored a goal in a season-long seven games and has one goal in his past 11.