Fix for node v0.11.3+

`domain` is null if eventEmitter is not using domains.