Polyfill for animate events on SVG