changed polyfill for requestAnimationFrame and moved callback to front of animation.js
removed control var from shapes since it didn't do much