Move AS event handling from browser to view.

Having event handling in the browser made sense when the approach was to
propogate an event over to the topology, but once we switched to the
database as a single source of truth, this code became very clunky.
Moving it into the view allowed for much cleaner method and should make
debugging much easier as the code is spread across fewer files.
I thought about it or even putting all the code in one event handler. That said, these are two discrete, very different chunks of logic. I'd rather keep them in separate functions for clean separation of concerns. They don't need to know about each other.