update js: not necessarily the body