delete all caches after closing the page in javascript code example
Example: forece reload without clear cache js
<script src="js/myfile.js?t=<?=time()?>" type="text/javascript"></script>
<script src="js/myfile.js?t=<?=time()?>" type="text/javascript"></script>