Avoid trying to guess if we are using node... checking if window and module exists
Release v0.2.1.