Switch markup to nested ul i.o. table; facilitate for jq.tristate.js