Grunt script to check and minify js.