add requestAnimationFrame polyfill for FF support