fix pathjs bug on firefox with encoded parameters (plan number)