Create node-promises.js