Right way to test on node environment

There is a possibility that global var is already in use in browser, so faye is failing. That's a more convenient way to check on node.