Use textContent instead of innerHTML to write to cells.