Old internet explorer compatibility

Before, an error would be thrown by `value instanceof Node`when `Node`
is undefined.

Note that you will also need a shim for Array.prototype.indexOf, as
IE<9 does not support this natively.