jQuery 1.9 fixes for vendored jQuery purr plugin

jQuery 1.9 removed jQuery.browser, so a couple of if statements in
purr can cause exceptions.
While at it, I converted a few checks to strict equality checks.
Merge pull request #237 from pwnall/patch-1

jQuery 1.9 fixes for vendored jQuery purr plugin