Replace HTML table with HTML5 canvas