Adapted the code to support jquery >= 1.9

$.browser is deprecated.
Compressed the javascript file
Merge pull request #2 from SeyZ/patch-1

Adapted the code to support jquery >= 1.9