Allows you to use the jQuery.Deferred mechanism in combination with setTimeout and setInterval.