Microsoft PowerToys:
https://apps.microsoft.com/detail/microsoft-powertoys/XP89DCGQ3K6VLD?hl=en-us&gl=US So I got bored and decided to find out if there was a way if I can preview .js file on file explorer and I found an app that actually works, although the max file size that you can preview is 50KB so keep that in mind nevertheless it's pretty useful.
So as soon as you download PowerToys you're able to view .js files automatically on the [review pane
To open up the Preview pane on File Explorer do:
-Click on View on the top left corner
-Click on Preview pane
-And you're done