Update JS API docs to latest