move cordova.js to js directory