title: Remove elements whose id name contains certain string
body: <p>I want to remove all elements (suppose they're all divs) whose id name contains the string <code>bs</code>. How to do this via javascript regardless of they are nested elements or not? (not jquery)</p>
  
  <pre><code>&lt;div id="new_bs_add"&gt;&lt;/div&gt;
  
  &lt;div id="bsremove"&gt;&lt;/div&gt;
  
  &lt;div id="somethingelse"&gt;&lt;/div&gt;
  
  ... and many more
  </code></pre>