Test directly for webkit, as the browser object was deprecated in jQuery 1.9