Node.js: Optimizations