Replace $.browser with navigator. This method is deprecated since jQuery 1.3 and has been removed in 1.9