Update table2.html

further refactoring of get tables, columns