```
function foo() {
  bar.on('click', function (evt) {
    console.log("click");
  }
}

```

If foo is called multiple times, the click handler is added multiple times resulting in the wrong behavior.

How do you stop this?