fix some jshint stuff