Add termGroup-based enum visualization to vocab view
Factor out node indexing in vocab.html