more cordova js fix