Fail-safe TransitionEnd event for jQuery.