Fix for "self is not defined" in node.js

Node.js (v0.10.26) has no "self" global var. Therefore, calling a check on "self.console" throws an exception. This is solved by simply defining the "self" var.