some jshint adjustment