replaceState() changed to pushState()

so that the "Back" button works after clicking on "Raw text".