Handle minification correctly
Fix jshint errors