Fixing requestAnimationFrame polyfill, introducing
cancelAnimationFrame polyfill