code: function getScriptInfo() {
      var bases = [ document.location.protocol + "//" + document.location.host ],
          scripts, src, rootUrl, baseMatch;
      if (typeof window.__vogue__ === "undefined") {
        scripts = document.getElementsByTagName("script");
        for (var i=0; i < scripts.length; i++) {
          src = scripts[i].getAttribute("src");
          if (src && src.slice(-15) === 'vogue-client.js') break;
        }
        rootUrl = src.match(/^https?\:\/\/(.*?)\//)[0];
        // There is an optional base argument, that can be used.
        baseMatch = src.match(/\bbase=(.*)(&|$)/);
  
        if (baseMatch) {
          bases = bases.concat(baseMatch[1].split(","));
        }
        return {
          rootUrl: rootUrl,
          bases: bases
        };
      } else {
        window.__vogue__.bases = bases;
        return window.__vogue__;
      }
    }
docs: Fetches the info for the vogue client.