Async chain utility for node and the browser. (amd support)