KjsEmbed is a wrapper around the KDE EcmaScript interpreter. See http://xmelegance.org/kjsembed/ for more info.
SourceXtreme also has some resources available for KjsEmbed. Go to http://www.sourcextreme.com/presentations/KJSEmbed/ for more info.
Cheers, --JasonNocks