.js file? Never heard of it. Where did you get it? Try using a different browser to download it. Turbo Tax is either a pdf file or .tax2021. To open the .tax2021 file you need the 2021 Desktop program installed.
Apparently the ".js" file is a Java script format. I have no idea how/why that happened. When I completed my 2021 taxes and saved the Turbo files that is what I got? Can they be converted to .pdf or something I can understand?
Instead of trying to convert the .js file into a .pdf file, you can download a .pdf file. To do so, see the instructions in our FAQ regarding how to access your previous years' tax returns filed with Turbo Tax. Once you click on download/print return (PDF), you can save it and/or print it.