Consider replacing
```
.onValue(function (url) {
   History.pushState(null, '', url);
});
```
with:
```
.onValue(History.pushState, null, '')
```