to address this, I think this code should actually move to message_manager.js in onHashChange.

This is really bad to have this there, and I surely hope that it will get cleaner once I can get the Navigation patch in (with proper onEnter and onLeave methods for the views)