requestAnimationFrame polyfill added to examples