Beautified the javascript objects

Beautified the javascript objects