I'm surprised at the Javascript figure. I leave a few swears in server-side script but the only people that will see that are other programmers; Javascript, anyone can read that.
That said, I've found a couple of rants in my old JS from the IE6 days that, well, if I clean them up they're not really sentences.