Replace using $.browser on navigator.userAgent

Removed depricated $.browser (jquery 1.9+)