MOBILE-555 Compatibility with phonegap-cli