fix cordova js