Update nodeCollection.js