update js from cordova-js