Most of the people employed to write JavaScript are really, and I can’t stress this enough, really shitty at it. That comes with a tremendous amount of messes to clean up and really immature expectations.
I love writing JavaScript applications. It’s the reason I stayed at it so long for employment. Now I work in unrelated technology and continue to write JavaScript applications just for personal use.