Bug 1091459 - Only interrupt JS execution after running long enough that the slow script dialog might need to be shown, r=bholley.