Not exactly sure what you're getting at, but web browsers these days have a lot of protection from malicious pages, including the "JavaScript on this page is using 100% cpu; terminate? Yes/No?" dialogs.
And I dislike it when it locks up, yes.
Less impactful than a server-side DoS, but still decidedly ungood.