Update "nodes.js" to follw arv@'s review comment.