How to add javascripts to my Indesign Server java webapp?
===

I wrote a simple java(-1.5)-based webapp (deployed on a tomcat-6-server), which communicates with a indesign server using CORBA. 

After I managed to add job options (stored in seperate files within the filesystem), I like to do the same for javascript files, which already work fine in indesign client. Unluckily I was unable to identify how to "hook" the scripts into my CORBA application, just like I did with job options. 

Unfortunately the official docs do not tell me how to do this, can anyone offer help?