Trouble with HTML5 canvas + JS

I was copying this down from a video on youtube but I can’t seem to figure out what I did wrong.

It’s just a little problem with the brackets around the animate function and the circle function.
Remove one after animate, and add one a the end of Circle definition, right before “CircleArray”