wrapAll($(something)) doesnt work in IE

wrapAll($(something)) doesnt work in IE

Hi All,

I'm having a problem with wrapAll() in IE in Chrome and firefox it works fine. However in IE it makes Javascript execution stop.

Here's the site: http://codestairway.com/LoLItemsHierachy/.

Line 50 is where the problem occurs. I tried switching:  "$(ul).append($(this).html());" with: "$(this).wrapAll($(ul));"
but that causes the html of $(ul) to not append or something like that. Or atleast it doesnt show up in all browsers.

Anyone know the cause of this?

Thanks in advance, Rope.