document.getElementById('anim-link').onclick = playAnimation;