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

The change explains itself.