I don't quite understand the question; the Script 'Repaired HSV Separation' is part of the Pixinsight Standard Edition (Version 01.08.04.1195 Ripley (x64)). You'll find it under SCRIPT/Utilities/Repaired HSV Separation and it can be started directly from the menu.
Generally you can execute any JavaScript (*.js file) saving it (e. g. in your PixInsight src/scripts folder, but other folders are possible too), then execute it by selecting Execute Script File... from the PixInsight SCRIPT menu.
Or you can load it into the ScriptEditor and execute from there.
Bernd