Update q-promises.js