Sometimes you want to add your own js file. Unfortunately the concept of including in javascript is not straight forward.
In EyeOS you can have a hack to get your js included, the only concern I have now is that if you execute the same application several times, it will pile up the js files, I lack the experience to tell you if it's going to be a problem.
But for now I can give you the hack, based on the previous post about my first application: