Added rAF polyfill and a base for the SVG stuff