In renderTable we just create the table and tbody elements in code. For ul are we using a template? If yes, seems like overkill and we should just create the ul in code.