trying window.location.replace()