(Los Angeles, CA) -- Wilmer Flores mashed a go-ahead home run as the Giants stunned the Dodgers 4-2 in Los Angeles. Flores help San Francisco eliminate a one-run deficit with his two-run homer in the ninth. Curt Casali drew a bases-loaded walk to extend the Giants' lead. Jose Alvarez picked up his third win in relief. Tyler Rogers bounced back with his 11th save. San Francisco has won two of its last three. Chris Taylor homered for Los Angeles. Kenley Jansen suffered his third loss and fourth blown save. The Dodgers have lost three of their last four.