canvas click works now. TODO try mouse moves
$canvas as global?
drawing a rectangle
simple animation
clearing canvas each time.
had to hardcode canvas width to get mouseXY to work.
remove console.logs