Setting action labels with javascript

Greetings

I have a problem with the java action bar. I need to set the action labels with javascript instead of Formula.

If I set the labels to inherit from fields, I can set the fields with javascript, but it only works when the document has been recalculated with a a _doClick($Refresh…) command… and thats not the solution, since the back button wont work and it will take too long to refresh the form.

Is there any way to change the Param value in the Java actions with javascript. I can get the parameters with document.javaclassname.getParameter(“parametername”), but how to set them from javascript without recalculating the document?

The main reason for this is to avoid lookups on the form altogether.

Any help is appreceated.