Use pushState to update url on ajax requests.