Remove query params from url without reload

<script>
jQuery(document).ready(function(){
	window.history.replaceState(null, null, window.location.pathname);
});
</script>