I don't think `session.synchronizeSessions()` is needed at all.  This should just do:

```js
function hashchangeEvent() {
  sendHello(false);
}
```

And then register the event conditional on `includeHashInUrl`