They can insert it in source mode, or you could write a plugin to make it easier for them.
But if you don't know perfectly who are your users (not just anyone that fills a registration form), then it's really a bad idea to allow javascript, and you should filter it out in the server.
Re: Embed JavaScript in rich content
But if you don't know perfectly who are your users (not just anyone that fills a registration form), then it's really a bad idea to allow javascript, and you should filter it out in the server.