CommApplet demonstrates 3 different methods by which java could call javascript
1. using JSObject (HTMLOutputStream)
2. using URL (ShowHTML), don't need any additional packages
3. call the function in javascript