Add Grunt to project. Use grunt-jsbeautify on project.