detect most methods deprecated by jQuery 1.8