Chain promises easily in node.js