Update promise_resolver.js