Added support for animation end event for non-csstransition browsers