title: JavaScript: get the current executing <script> node?
body: <p>I need to know if it is possible to obtain the current execution node? </p>
  
  <p>Example:</p>
  
  <pre><code>..html
  &lt;script id="x"&gt;
    console.log(document.currentNode.id); // &lt;&lt; this must return "x"
  &lt;/script&gt;
  ..html
  </code></pre>
  
  <p>Thanks!</p>