fix typo in node.js api example