  const tab = _addTab(iframe, position, orientation, scale, d, local, id);
};
const _addTab = (iframe, position = new THREE.Vector3(), orientation = new THREE.Quaternion(), scale, d = 3, local = true, id = tabId++) => {
  if (scale === undefined) {
    scale = new THREE.Vector3(1, d === 3 ? 1 : window.innerHeight/window.innerWidth, 1);
    if (d !== 3) {
      scale.multiplyScalar(0.4);
    }
  }

  iframe.position = position.toArray();
  iframe.orientation = orientation.toArray();
  iframe.scale = scale.to