Using fckeditor under rails

Hello all, I am using fckeditor to write texts, but the problem is: the user can add JavaScripts commands. But when I am showing the content of record, I need to display only the HTML and deny the JavaScript commands. So I can not use the h tag. Because the h tag deny both (HTML and JS).
How can I deny only the JS commands and display the HTML.

Thank you.