how to allow admins to add html < script > tags to textbox inputs?

i have searched a few locations via google for answers to this. so far i didn't find any info..

does anyone know of a code adaptation that's already used/complete that will allow admins to insert javascript into textbox fields in elgg's front-end?
so that, for example, i can embed a widget from another site that uses an object or embed code into a page or blog in elgg.