removed use of deprecated jQuery.browser function