IE polyfill for animationFrame