Create deferred.js