ES6-Promises polyfill for Cordova/PhoneGap