Pregunta de entrevista de eBay

Find max consecutive sum in an array. Reverse engineer a complex page with CSS and Javascript.