Why is there a memory / stack overflow problem in IE?