When working with mongodb especially, but also in other cases, you can create a deep stack of calls that can get pretty ugly in javascript.
To avoid this I created a function that will recursively go through an array of things you want to process in a callback stack.
Follow link to read more...