some jshint fixes
adding new stuff