Extend Chrome JavaScript API to correspond to the jQuery.Deferred() function.