I've asked a developer on our JS VM that is in our office these days and he said that in this case we don't allocate.

However, the `animationend` listener is very expensive because it creates a closure to animatedChildren and lastNode (so a new function object each time + we allocate more memory for these objects), AND it may happen that it's not removed if the animationend event is not triggered...