stub replaceState properly