Corrected reference to "windows.location"

Corrected typo - "window" was "windows".