Delete promise.js