Should this be `window.clearInterval`, or should `window.cancelAnimationFrame` just be `cancelAnimationFrame`?  Just curious why in one place the implicit global is used, and in others the explicit one is used.

Ditto for the `setInterval` and `window.requestAnimationFrame` calls above