add requestanimationframe polyfill