Set the title of the page using the window object