Generate UI grid and JS tables from unit/tone values