Add prefs for refs
Class for each ref
Ensure empty div if no actual refs
Prepend triangle to refs
Remove indices when more than one ref