Dodgers ace Clayton Kershaw allowed four earned runs, but it was Pedro Alvarez's bases-loaded single that won it for the Pirates in extras on Friday.