Example of how pushstate and AJAX are used together.