jQuery compatibility update