document.evaluate is not supported in IE (up to IE 10, not sure about 11). Use jQuery, Sizzle or some other library.
there is
this[
^] for IE only if you're willing to torture your self :)
If this helps please take time to accept the solution. Thank you.