Added requestAnimationFrame polyfill -- because, you know, browsers suck.