>>30202it was designed for some shitty "magic" on what were basically text documents (hypertext) and people thought that since it is easy to use it will destroy the need to hire coders because anyone can use it and so they built a whole bunch of shitty tools with it.
same reason why VB was so popular for a time and why drag-and-drop ASP.NET mess was hot shit until ruby on fails came along that promised to make your shitty "webapp" in 10 mins (5 min blog tutorial), etc.
JS is the same thing from 1995 that AI hype is today.