fix jshint errrors