jshint integration + fix jshint issues