Test directly for webkit, as the browser object was deprecated in jQuery 1.9
Merge pull request #1 from josephschmitt/master

Test directly for webkit using RegExp.