First of all, JavaScript is not Java. It has nothing to do with Java (The language and its associated technologies from Sun Microsystems). To be honest, I'm not even sure why it's called JavaScript.
This is not necessary with Java Plug-in 5.0, which can run applets specified by the simpler <applet> tag. During installation, you are given the opportunity to have the Internet Explorer and Mozilla ...