Add support for JDeferred library

Added an adapter for JDeferred library in extras.