Used jQuery functions in buildTable.