How add a script in the option the code insert in TINYMCE

I’m using version 3.1.1-2 and TINYMCE will not let me write javascript