clean up jshint warnings