Can I evaluate JUEL string inside a Javascript task?

Take a look at Freemarker Script: Greater than 4000 char, exceeding historic variable instance DB insert on how to use another engine within the Js engine.