Request Animation Frame polyfill