Updated Prototype (js formatting)