Capture CSS3 Animation Events in JavaScript
from:http://www.sitepoint.com/css3-animation-javascript-event-handlers/