slight tweak to node.js detection to prevent clash with 'module' global created by angular-mocks