#1: “Custom Script Generator”
Yes, Trail users also can use the Custom Script Generator (CSG) utility to generate the JS files for required controls.
You can load the necessary script files by using “requireJS” also. Refer following attached sample, this would be helpful for you to achieve your requirement using requireJS.
Please let us know if you require any further assistance, We will be happy to assist you.