Explicitly check code is being run under node.js