markup, canvas styles, draw_canvas(), format_canvas()
make jshint happy (semicolon) and spaces