Fix js for handling click of header buttons. They were adding /# to the url, which broke routing.