jQuery 1.9 support

I've replaced use of the (deprecated, now removed) jQuery.browser() method, with support checks instead. This provides compatibility with jQuery 1.9 and above.

Hope that's helpful,

Ross