Do not assume that Node is defined on `window`.

Resolves #1.
More IE7 related fixes.

Now IE7 is officially supported.