js: start working out how to move data from operator tables to model, working out the details of listeners and selecting the correct html elements and their values