Fix jshint issues and minify