fix jshint issues