Drawing & animating on HTML5 canvas