TreeWalker is broken in IE