Couldn't these attributes be set on `this` instead of `app`, then in main `window.app = new AppViewSet()`?