jshint compatible changes