Update docs for JS