I am trying to remove everything after the \"?\" in the browser url on document ready.
Here is what I am trying:
jQuery(document).ready(function($)
Better solution :
window.history.pushState(null, null, window.location.pathname);