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.
Discrete Thought, Avoiding a deep stack of callbacks
http://robkohr.tumblr.com/post/11698069831/avoiding-a-deep-stack-of-callbacks