Make browsers happy with getting top window's url