passes jslint