update js app