Can I suggest that you put the closing angle bracket on the
script tag? ie. change:
<script="javascript" src="demo.js"</script>
to
<script="javascript" src="demo.js"></script>
Personally I would change that entire line to read:
<script type=\"text/javascript\" src=\"demo.js\"></script>
Why, you ask? Well a tag name (such as
script) should have a space before the first argument (
type=\"text/javascript\"). Also the quote marks should be escaped within a Perl string as mentioned above.
update: reformatted mis-escaped <code> tag.
update: accidently pressed the update button twice.