beautified the js file