It turns out that packing it into an svg onload is a tiny bit smaller then using a script tag!
It is possible to save a little more space by putting it in the canvas onclick event.
It is possible to save a little more space by putting it in the canvas onclick event.