A standalone implementation of jQuery.Deferred