Migrate from JSDeferred to ES6 Promise (Promise.jsm)