docs that history accepts a replace flag to use replaceState feature