Update docs (both README and JSDoc).