Or, you could just give users the ‘unfiltered_html’ capability. This can be done with a plugin such as Capability Manager.
Warning: don’t allow untrusted users to insert random scripts into the post content. With JavaScript, they can steal HTTP cookies from other users, including yourself, giving them administrator rights, basically.