Dynamic size of the applet on a html document