Update check for jquery