Added requestAnimationFrame. Polyfill missing