Same as @jdalton said, but here's an even better optimization:

```javascript
var removeEventListener = window.removeEventListener ||
  function (eventName, listener) {
    return this.detachEvent('on' + eventName, listener);
  };

removeEventListener.call(window, 'popstate', this.checkUrl);
```