[jquery ui, without common data structure] stat table gadget and code clean up