Correct indentation
Move CSS in separate file
Use CSS for the background and border of the canvas
Remove jCanvas dependency
Improve resize logic
Improve error appearance