update js doc