How can you detect browser vs. Node.js vs CommonJS?