a Java applet that runs JS would be the smartest move ever