Create Deferred.js