var tr = $("<tr />");
tr.addClass('someClass');
sometable.append(tr);
let rows_layout = '';
for(let i = 0; i < 9999; i++) {
const row_class = 'someClass';
const value = 'someData';
const row = `<tr class="${row_class}">${value}</tr>`;
rows_layout += row;
}
sometable.append(rows_layout);