removed depricated $.browser (jquery 1.9+)

I removed deprecated $.browser and replaced on navigator.userAgent