code: function createEmbedDiv() {
      var embed_classname = "tl-timeline-embed";
  
      t = document.createElement('div');
  
      if (storyjs_e_config.embed_id != "") {
        te = document.getElementById(storyjs_e_config.embed_id);
      } else {
        te = document.getElementById("timeline-embed");
      }
  
      te.appendChild(t);
      t.setAttribute("id", storyjs_e_config.id);
  
      if (storyjs_e_config.width.toString().match("%") ) {
        te.style.width = storyjs_e_config.width.split("%")[0] + "%";
      } else {
        storyjs_e_config.width = storyjs_e_config.width - 2;
        te.style.width = (storyjs_e_config.width) + 'px';
      }
  
      if (storyjs_e_config.height.toString().match("%")) {
        te.style.height = storyjs_e_config.height;
        embed_classname += " tl-timeline-full-embed";
        te.style.height = storyjs_e_config.height.split("%")[0] + "%";
  
      } else if (storyjs_e_config.width.toString().match("%")) {
        embed_classname += " tl-timeline-full-embed";
        storyjs_e_config.height = storyjs_e_config.height - 16;
        te.style.height = (storyjs_e_config.height) + 'px';
      }else {
        embed_classname += " sized-embed";
        storyjs_e_config.height = storyjs_e_config.height - 16;
        te.style.height = (storyjs_e_config.height) + 'px';
      }
  
      te.setAttribute("class", embed_classname);
      te.setAttribute("className", embed_classname);
      t.style.position = 'relative';
    }
docs: /* Build Timeline
  ==================================================