Too Much Recursion on Firefox