JavaScript doesn't work in my PHP code
<p>i have this in my <strong>index.php</strong>  </p>

<pre><code>include 'app/Core.php';     
echo Core::getPageHtml();  
</code></pre>

<p>in <strong>Core.php</strong>  </p>

<pre><code>final class Core
{
    public static function getPageHtml()
{
    ob_start();
    include 'layout.php';
    $html = ob_get_clean();
    return $html;
}
}  
</code></pre>

<p><strong>layout.php</strong> is normal html code, i can see de page, just perfect, but the javascript code doesn't work, i even write an alert('hello world'), like this</p>

<pre><code>   &lt;script type="text/javscript"&gt;
     alert('hello world');
   &lt;/script&gt;  
</code></pre>

<p>so, it should be simple, but i can make it work, what am i missing here?
need some help with this code</p>
