promiseWrappers.js added