re-indent
Handle events at the TowTruck top level.  Raise AssertionError instead of a string
Put everything into the chat.tmpl template.  Start factoring out UI into ui.js.  Use events to notify when shareId changes, and so to update the link.  Change the button handling to use buttons and to be more data-driven.