Show/Hide elements based on route instead of just changing innerHTML