Java and C# are great at forcing you to do the right thing. JavaScript is not. It requires discipline.
This means choosing good and informative variable names, creating a clear and understandable architecture, and a flow of code that makes sense.
Why this is a terrible, terrible design choice.