In addition to some of the more general purpose framework tools others have already mentioned, when.js is a beautiful little promises library. I use it everything. Can't say enough good about it.

https://github.com/cujojs/when