update js sdk