Request Animation Frame polyfill.