resolve jshint warnings