jshint stuff
more fixes
oops
gah