Removed unneeded innerHTM='' which force html parser, and reorder adding cells with adding row to DOM struct