Node.js: Cleanup of old code