this is kinda-sorta based on my suggestion- to avoid the HTML parsing we can leverage the OrderedMap that contains the hours/elements to map clicks back to actions (in combination with view.delegate)