Better fix of "invalid NSResolver" that works for browsers that do not
support document.createNSResolver (guess, what's the name of this browser?)