adding request animation frame script to repo