createTreeWalker requires 4 arguments in IE