usually browsers block javascript execution if a "thread" spends too much time executing.
you should identify where time is spent in your application through profiling to find out if there is something in the application that can be optimized.

To profile your application you can use firebug, it has a profile button on the console tab: click it to start profiling and click it again to stop, then check the results.

HTH