Use of navigator.userAgent instead of $.browser

$.browser object has been removed from jQuery 1.9.0