page refresh for javascript

1. To refresh the current page, use this code-

<a href=”JavaScript:location.reload(true);”>
Refresh this page
</a>

or just -(within javascript code)-
location.reload(true)

2. To compare 2 files, windiff is a great tool !