Made a tool for javascript enumeration which can help you save a lot of time in bug bounties. You can also use docker.

https://github.com/KathanP19/JSFScan.sh