title: IF conditional in EJS with Script tag doesn't work
body: <p>I've some problem in here. I put <code>script</code> tag inside IF Conditional. Nah, <code>script</code> tag is running when condition is TRUE or FALSE.</p>
  
  <p>For example</p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;% if (info) { %&gt;
      &lt;p&gt;&lt;%=info%&gt;&lt;/p&gt;
              &lt;script type="text/javascript"&gt;
              alert("Hi")
              &lt;/script&gt;
      &lt;% } %&gt;
  </code></pre>
  
  <p>Result : </p>
  
  <p>IF = TRUE </p>
  
  <pre class="lang-js prettyprint-override"><code>alert("Hello world")
  </code></pre>
  
  <pre class="lang-html prettyprint-override"><code>&lt;p&gt;Hello world&lt;/p&gt;
  </code></pre>
  
  <p>IF = FALSE
  </p>
  
  <pre><code>alert("Hello world")
  </code></pre>
  
  <p><em>Paragraph attributes</em> is rendering when IF conditional is TRUE. But <code>script</code> tag is running when IF Conditional is TRUE or FALSE, what i want the <code>script</code> tag running like HTML attributes. </p>
  
  <p>Why this is happened? Thanks</p>