You'll get the Custom JS settings in Settings > Setup > Custom JS.
Add/manage as much scripts you want to implement.
There has setting to add on team members/clients portal or public pages for every scripts.
Please note that, only Activated scripts will be added.