Added requestAnimationFrame shim