Remove some hacks and quirks from reviewboard javascript.

This change removes a few of our hacks from the Review Board code. There's
still a few in there for IE8 and 9, which I'd like to eliminate, but I haven't
figured out how to do so in a way that won't keep relying on $.browser

Reviewed at https://reviews.reviewboard.org/r/4679/