Replaced $.browser with $.uaMatch since $.browser is deprecated and removed from jQuery 1.9