Node.js: Fixed Event() method