If simply closing the offending page down doesn't work, then I would close down the browser. That means completely close it down (i.e. use quit especially if you are on a mac).
Then bring the browser back up again (avoiding the offending page of course).
That should fix it.