It's an issue of module.textsanitizer.php.
But it is natural to allow "javascript" for TinyD's content.
edit line 55 of tinycontent*/class/tinyd.textsanitizer.php
function displayTarea( $text, $html = 0, $smiley = 1, $xcode = 1, $image = 1, $br = 1 , $nbsp = 0 )
{
// save "javascript:"
$text = preg_replace( "/javascript:/si" , "jjaavvaassccrriipptt::" , $text ) ;
$this->nbsp = $nbsp ;
$text = parent::displayTarea( $text , $html , $smiley , $xcode , $image , $br ) ;
// restore "javascript:"
$text = preg_replace( "/jjaavvaassccrriipptt::/" , "javascript:" , $text ) ;
return $this->tinyDCodeDecode( $text , $nbsp ) ;
If you want to paste above codes, eliminate a space between "java" and "script".