Also if we do:

```
if (msg !== 'o' && msg !== 'h' && msg !== 'c') {
  return;
}
```

Before resolving the `id` variable, can we ditch the ternary operation and just do `var id = msg.id.toString()`? Might be a bit cleaner.