Instead of binding the element to this `messageDOMElement` reference and throwing it away, just pass the element directly: 

```js
ThreadUI.removeMessageDOM(
  document.getElementById('message-' + list[i])
);
```