fix typos in doc/nodejs.md code example, as discussed in comments