$.browser was deprecated in jQuery 1.9, changed it to $.support