jshint fixes and settings