That has nothing to do with JavaScript. Reddit design is simply terrible. You don't need to load many dependencies. A lot of those are trackers and advertising-related...