satisfy jshint and jslint