Added replaceUrl function (replace url in the browser address input without reloading)