Defining the async waterfall in both CoffeeScript and JavaScript