minor fixes for jshint