JS, если анимационная бесконечность заканчивается

$('#dot1').on('animationiteration', function (e) {
  alert('done!')
})
Borma