resolve jshint problems