@yetanotherjosh
If you don't plan to a lots of script which requires heavy maintenance,use this repo :
ReaTeam/JSFX: Community-maintained collection of JS effects for REAPER
Simply click on
Create a new file and paste your code.
Read contribution guideline to be sure you named your file correctly hand that your script have the right script header.