Test directly for webkit using RegExp.

The $.browser object was deprecated in jQuery 1.9.