PromiseConfig.js working