Rename location to userLocation

Because the location variable is in the global scope, so when you assign
to it, it is the same as assigning to window.location (and that changes
the current URL).

```
var location = 'www.google.com';
```

is the same as:

```
window.location = 'www.google.com';
```