```JavaScript
var connectionIdToJoin = connectionTextInput.val() || $.connection.hub.id;
```

Then remove the next conditional check.