window location replace with / instead of ? for firefox