Don't globally expose event handlers to be referenced in html; instead addEventListener in ui.main.js