adds promises back into newsire.js and bundler.js