Disable WYSIWYG editor, you will be able to use JavaScript. Option is available in Admin > Settings