Move pushState back to the form submit listener so it doesn't get triggered on initial load