Moving cordova to the js folder