This is an issue of the browser you're previewing and not of your application. Usually, when you open the same URL in a browser, that has this URL already opened, it will detect this and refresh the corresponding window or tab.
You can easily test this by dragging a bookmark to your desktop; then double-click it to open in your default browser. Safari for example, will refresh properly.
So:
- either fix your code by making sure you are not changing your URL
- try another browser and don't fix bugs of other software in your code with bogus Apple scripts. Because, I really don't want any apps to refresh my current tab (what if you're reloading not your html document, but my shopping basket that will get lost on a refresh?)
- or if you're using a script, make sure that you absolutely got the right tab before attempting to refresh
Edit: checked Crome and FF, they open new Tabs indeed...