clean up some jshint complaints