Darn, I usually have the .awt in my zip. Sorry, it’s in this one. The bottom of file scripting must have the script tag and source attribute – <script src=”main.js”></script> works.
I think you have it right above. Any problems let me know. If you want, give me a specific example of what you want to do and I’ll code up a sample.