Cordova import fix

Fixed the import with cordova which gave errors in the app.js