How do I add classes to each row using the addClass() function.

row.appendChild(document.createTextNode(info[1][i].display_name));

row.appendChild(document.createTextNode(info[1][i].account_type));