Update whenthen.js