Beautified the js