javascript syntax help required
<p>I am currently working on working on a platform where i can insert js code to be used is validated by some compiler and it returns errors for certain cases like</p>

<ol>
<li><p><code>document.write('&lt;IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'"&gt;');</code></p>

<blockquote>
  <p><strong>error</strong> * :314:9:document.write can be a form of eval.</p>
</blockquote></li>
<li><p><code>parseInt</code> function throws error if we do  not use the optional radix parameter</p></li>
</ol>

<p>Does someone know how the syntax or solution should be????</p>
