did not pass jslint