in case of `oncontactschange = null`, you need check whether the listener is valid.
```
if (typeof _listeners[id] === 'function') {
  _listeners[id](_createConstClone(msg.data));
}
```