reload script function code example
Example: script refresh js
window.location.href = window.location.pathname + window.location.search + window.location.hash;
window.location.href = window.location.pathname + window.location.search + window.location.hash;