Added request animation frame requestAnimationFrame polyfill by Erik Möller.

Name refactoring