In the code that create the form/suitelet you woul...
# suitescript
a
In the code that create the form/suitelet you would be able to link a clientScript For SS 2.0 would be
form.clientScriptModulePath = "./ClienScript.js";