Write async code in Node.js that looks like sync code.