You can avoid this construct which is potentially harmful (it uses eval under the hood) by 
```(function () {return this;})();```. See the security guidelines [here](https://github.com/ibm-js/sdk/blob/master/GUIDELINES.md#security-guidelines).