I store my javascript files on the DSF server machine in a specific directory;
Since I have a lot of fusionpro products, based on the same scripts, I only have to call a Load function in the "globals" section to load them. In case of bugs, I do not have tomake changes in all my fusionpro templates and reload them again in DSF (clients lose their saved jobs when I have to update the products ). I only have to change the javascript function file that is stored on the server and all fusionpro templates that use it, work correctly.
If I could store the path of my script files in an environment variable that can be loaded in fusionpro, I'm independent of any path change. ( if i need to move the scripts path to another directory, I only need to change the environment variable)