adding cordova js