pub fn canvas_element_or_die(canvas_id: &str) -> HtmlCanvasElement