check if applet already loaded before loading