Fix cordova js import for newer version of phonegap/cordova.