minor fixes
fixed jshint