fix some stuff
fix some jshint violations