add requestaimationframe polyfill