How can run a script tag in html page which is already generated by an external javascript file
<p>extenal javascript file:
var someVariable="document.write('JavaScript text');";</p>

<p>and output should be: 
JavaScript text</p>
