Replaced two uses of jQuery.browser. Closes #419
See also 01ccbc06a1.