What's up peeps.
Even though this isn't really about gaming, it's about programming, and I need help, so I'd assume this goes here.
Recently I've been learning HTML5, and have been having a fun time doing it. recently, though, I ran into a little trouble with drawing on a canvas.
I was working on making a logo for my website (at the bottom), except a monochrome version. I had originally written it as four separate canvases (hence the four colors shown), but decided that it didn't look the neatest, and so I tried to write a monochrome, single canvas version. The only problem I ran into (which was a rather troubling problem) was that the entire content of the drawing was filled, and I can't figure out how to fix it. I ran into this a few times while coding, but tried my best to fix it by completing the shape and running it around again, and it worked until I started getting halfway and then completed it. I suppose the started point was filling in everything to the last point, but that's not really what I'm looking for... (if you're wondering, I'm hoping to make space inbetween each of the four shapes, as well as the design for the four shapes.)
What the final product looks like
The code:
(Ignore the +25 to the height, that's to fix a different problem that I had with centering the drawing on a DIV. I copied the code over directly from the original document.)

So, is there any way to fix this? Is there any way to do this without making four canvases?