Plz no parenthesis around typeof. `typeof module !== 'undefined'`. It's not a function even though you can make it look like one :p