Help for this page
var uri = new String(document.location); if (uri.match(/\/\?$/)) { ... document.location = uri; } }