Added requestAnimationFrame shim
Added animate1 function that calls itself and draw. Starts the loop that animates sqaure 1.