resolved jshint errors