Supporting demo code for my blog article about jdeferred.