hmm, you make a great point.  This was copied directly from the JS in Data.js.  But, like you say, I could make it a dict, keyed off the name, with the group name as the value.  I'll re-work that.