Add .js (or other script) file extension to PF and WSH should show up as an option to auto allow. I have "Types" installed but you can register a program to open a file type using Default Programs Editor.