Use custom Javascript

You can use custom Javascript using your own *.js files. This can be done by adding your files to a js folder in the same (package) folder your guiInit and guiEvent functions are in. The functions and variables defined in the Javascript file will be available for global use in custom validators, callbacks, etc.