possibly because of the excitement being generated by Java.
embedded in Netscape, Internet Explorer, and other web browsers.
The language has since been adopted by all other major graphical web browsers.
It has made modern web applications possible—applications with which you can interact directly, without doing a page reload for every action.
But it is also used in more traditional websites to provide various forms of interactivity and cleverness.