changed the window.name