added request animation frame example