title: Is removing "old" JSONP script tags a good practice?
body: <p>If a program might create multiple <code>&lt;script&gt;</code> elements for JSONP calls, is it a good practice to remove the old ones, before appending any more? Why?</p>
  
  <p>Saving the created element in  a variable isn't an option in my case.</p>
  
  <h1>Example</h1>
  
  <p>If you <strong>don't</strong> delete previous calls, the result may look at the end like this (or multiplied by a thousand times):</p>
  
  <pre><code>&lt;script src="https://example.com/script1"&gt;&lt;/script&gt;
  &lt;script src="https://example.com/script2"&gt;&lt;/script&gt;
  &lt;script src="https://example.com/script3"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But if you <strong>do</strong> delete previous calls, it's necessary to set an <code>id</code> for the script:</p>
  
  <pre><code>&lt;script id="jsonp-call" src="https://example.com/script1"&gt;&lt;/script&gt;
  &lt;!-- Then it'll become --&gt;
  &lt;script id="jsonp-call" src="https://example.com/script2"&gt;&lt;/script&gt;
  &lt;!-- And after that --&gt;
  &lt;script id="jsonp-call" src="https://example.com/script3"&gt;&lt;/script&gt;
  </code></pre>