jshint errors fix