[Node.js] How to Use Promises in a Callback-based Codebase