Goals from Scott Hannan and Tyler Kennedy provided the Sharks just enough offense in a 2-1 win over the New Jersey Devils at SAP Center on Saturday night.

Both Sharks goals came in the first period.

Hannan made it 1-0 when his slap shot from the point deflected past Martin Brodeur at 4:25. The play began when Brent Burns steamrolled Adam Larsson behind the Devils’ net, and pushed the puck to Joe Thornton. The Sharks’ captain found Hannan alone at the point, where Hannan was able to wind up.

Kennedy’s third goal of the season increased the lead to 2-0. Marty Havlat’s nifty pass from behind the net found Kennedy’s tape, and Kennedy beat Brodeur to the far side at 14:47.

The Devils cut San Jose’s lead to 2-1 late on their only power play. Jason Demers went off on a hooking minor, and Patrik Elias’ shot from the circle sailed past Antti Niemi at 8:10. Steve Bernier appeared to screen Niemi on the play, which came with just one second left on Demers’ penalty.

The Sharks have outscored the opposition 32-12 in first periods.

The Devils had just three shots in the first period, but played much better in the final two frames. Niemi’s first difficult save came when he smothered a redirection by Dainius Zubrus about four minutes in to the frame, and later Niemi gobbled up another redirection off of Andy Greene’s stick at 12:31.

Niemi’s best stop came with two and a half minutes left in regulation, when he make a right pad save on Travis Zajac from the slot. He denied Peter Harrold from the circle with half a minute left and Brodeur pulled for an extra attacker.

Burns, playing in his second game since an undisclosed upper body injury, looked much more effective than against Tampa Bay on Thursday. Along with his efforts on Hannan’s goal, Burns drew a pair of minors on New Jersey with his aggressive play, a hook on Greene late in the first and a trip on Marek Zidlicky midway through the second. The Sharks were unable to capitalize on either opportunity, though.