Move javascript into seperate file.
Add some CSS.
Move styles to stylesheet.
Rename canvas id for clarity.