adds cordova js file