Fix example to show how to preserve Deferred

The initial Deferred object returned from $.wait will get lost if chained onto a call to .done(), .then(), etc, since those will return a Promise object.