Detecting the end of CSS animation and transition could be useful if you want to back up some of your JavaScript behavior on CSS. Also jQuery version available too.
Website Demo