I don't think this is a realistic request on the modern web - particularly when it comes to JavaScript code, even if it's a technically accurate interpretation of how JS is transmitted and executed. (Licensing is an interesting thing to think about here.)
But hey, for what it's worth, every piece of JavaScript we run is free software compatible. Hooray! https://github.com/idno/known