Update docs for read-write.js