Hi, i see you have an already existent js file generated b gwt which you wanna modify so it can be run via jsc or similar on osx terminal.
I should be able to get this done for you, am a well seasoned developer with over 8yrs experience, you can be assured a job well done.
Can i get the present script?
And instead of modifiying a generated code, can you describe what you want the script to achieve?
It may just be much straight forward to proceed by writing it afresh for this purpose....
But till, then....so please send me the script and would be great to have an explanation what it does or should do.
Would be great to hear from you so we can discuss better.
Cheers.