Get requestAnimationFrame interface working.