The preparation of jQuery.Deferred