malandrew/jquery-tokeninput — comment on commit 8917a1b7a41e4355e1db442d6efa3d5bd21a2b4e
File:  line 0
By malandrew:

I believe you may be able to do what you want to do with defers and promises. Here's one article on the subject: http://msdn.microsoft.com/en-us/scriptjunkie/gg723713