Allow member user to used javascript on text widget?

hi good day guys,

is there any modification needed or a plugin that can allow my member to inser javascript code on the text widget? what happen now is user cannot add certain text codes like google adsense and other javascript code. please point me to a tutorial or plugin that can enable this stuff for the user part.