Add pathGoBackListener to allow the back/backspace button trigger window.history.go(-1).