MOBILE-635 Support for Phonegap/Cordova 3.5