now passes jslint