window.location.path -> window.location.pathname