my practice of using jquery.Deferred.