use Sun's deployJava.js to write applet tag