add animationFrame polyfill and tests