Added Paul Irish request animation frame update function