minor fix for latest jQuery versions