code: function _Browser_getViewport() {
      return {
        scene: _Browser_getScene(),
        viewport: {
          x: _Browser_window.pageXOffset,
          y: _Browser_window.pageYOffset,
          width: _Browser_doc.documentElement.clientWidth,
          height: _Browser_doc.documentElement.clientHeight
        }
      };
    }
docs: WINDOW VIEWPORT