jquery upgrade fixing