This should be an `if` statement to avoid unnecessary assignment when `stopped !== 1`:

```js
if (stopped === 1) {
    stopElement = evt.el;
}
```