Replace deferred.pipe with deferred.then
Merge pull request #4028 from TuckerWhitehouse/deferred_pipe

Replace deferred.pipe with deferred.then (jQuery 1.8 Deprecation)