document.querySelector('.marquee_pause').onclick = function() { interval=(this.classList.toggle('marquee_pause_active'),interval?(clearInterval(interval),0):setInterval(move,20)); }