Kenley Jansen used three straight sliders to strike out Buster Posey in the ninth inning and help close out the Dodgers' 3-2 win over San Francisco.