I haven't done it but I can see if on the REST API or with SuiteQL can ask Netsuite, "Give me a list of all scripts"
Then if the script's have a property
"link"
to the
.js
itself, can do a
get
on the list of them and have them all saved probably in the same folder running the script.