adding rAF polyfill