Another way I could accept is:
```js
(function(window) {
  function execute() {
  };

  // Do the following class definition
}(this));
```