added whenjs to Sauce.when