Corrected reference to "windows.location"