Rafman.js helps you manage requestAnimationFrame work.