A small set of asynchronous helper functions for Node.js