Node.js: Cleanups and user template fixes