Effects: fix backwards compatibility in animateClass for jQuery Core <1.8