mystery fucking javascript changes my routing