My code was strictly a demo. Had nothing (directly) to do with yours.
Yes, I saw that you are using innerHTML to clone the <td>s.
Personally, for only 3 <td>s, I wouldn't do so. I'd use insertCell and DOM properties, instead. But you can use innerHTML, if you want.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.