jshint/jslint valid code