Return jQuery promise

Allows usage of the [jQuery deferred API](http://api.jquery.com/category/deferred-object/)