Re: Doesn't paint JavaScript in the best light...
There were attempts to integrate Java applets into the HTML DOM. The idea was to ditch the arcane Sun Applet APIs in favor of something more modern and manageable. It never caught on for practical reasons. Java is a statically typed and compiled language while the HTML DOM is completely dynamic. It's not a good fit so it's hard to maintain.