Yep, updated that so that it looks like this:

var destroy = this.destroy.bind(this); and then uses 'destroy' for onclick and setTimeout.