changed index to put canvas in own div instead of in table.