Its a jQuery technique.
TO CHANGE PAGE URL:
TO CHANGE PAGE URL:
window.history.pushState("object or string", "Title", "/new-url");
TO CHANGE PAGE TITLE:
document.title = "NEW PAGE TITLE";
TO CHANGE PAGE CONTENT:
jQuery("body").html("SUCCESS");
FOR MORE INFO:
https://developer.mozilla.org/en-US/docs/DOM/Manipulating_the_browser_history