Did you test this in IE7/8?
isEqualNode is not supported on IE7/8.
http://quirksmode.org/dom/core/