Added compatibility with jQuery 1.9

The $.browser method was removed since jQuery 1.9.
Use a simple matcher to check if the browser is Safari.
Merge pull request #3 from juandazapata/master

Add compatibility with jQuery 1.9