requestAnimFrame shim added