Split handler from applet, and added FF && other styles