function buildRow(cells) {
        var row = document.createElement('tr');

        cells.forEach(function (cell) {
            row.appendChild(document.createElement(cell));
        });

        return row;
    }
Builds a tr with the given cell tags

@param {string[]} cells Cell tags (tr|th)
@returns {Element} tr constructed from given tags