The problem is not on the server, the server executes the code just fine, and there's no slowing down there.
Once the page is rendered, and there's a CuteEditor in the page in FireFox 3, there's 3 minutes where the Javascript seems to be performing operations before the page becomes available again.