Triggering onAnimationEnd and onTransitionEnd under IE