On my site, a user can control the JS on the page (through some security constraints, not worth explaining the details in the question). Occasionally, they can accidentally create a JS process that will freeze the window as it runs.
Is there anyway a user can click a button, and it will "kill" any actively executing JS functions?