title: How to create a new HTML checkbox via JavaScript?
body: <p>I have defined a button in HTML which calls a function to create an object in my JS. In addition, i would like this button to "spawn" the creation of a new checkbox (with name and value depending on the former created object) in HTML, lets say in div id XY.</p>
  
  <p>Though i suppose it's not important, here is my current stuff.</p>
  
  <p>html</p>
  
  <pre><code>&lt;input id="button" value="pick Brakiri" onclick="initiate('Brakiri')"&gt;
  </code></pre>
  
  <p>js</p>
  
  <pre><code>function initiate(faction){
  calc = new Calc(faction)
  }
  </code></pre>
  
  <p>I would like to avoid jQuery if possible.</p>
  
  <p>thank you.</p>