Make Chrome JavaScript APIs chainable using the jQuery.Deferred() method.