added "request animation frame" shim for planned next feature.