Refactor table initializations for pages to ui.table.init().