Don't use `Node` interface; no IE 8 support

The `Node` interface is not supported in IE 8, so the nodeType check
needs to be switched to compare to the integer value.
v1.0.2