Grouping setting. Clean up applet.js