Fix for new jQuery