Applet hiding improvements and possibility to chose to use applet or JS.