RequestAnimationFrame Jan 20th, 2014 Do not use timer to control animation frame refresh in html5. Use RequestAnimationFrame instead.