add migration support for latest jQuery