Yeah, it should look something like this:

Code

$body = <<<EOF

<script type="text/javascript">
//<![CDATA[
Put your Javascript
In Here
// ]]>
</script>

EOF;