Update js doc examples