Node.js: More tree cleanups