jQuery style $.deferred and $.when support.