NOTE: this not my work ,i don't kmow who created tried to search but it is already gone ,it should use fast request that use nim language but i chanegr to normal request the use is simple
python JScanner.py -u https://test.com/test.js -o output
or use wordlist contain of js files
python JScanner.py -w wordlists -o output
like he said Enjoy bug hunting