Update js documentation