Create promise-phonegap-ready.js