Update demos to use requestAnimationFrame().