Fixed states with multiple names and linked list to map.

Also added some experiments with CSS only links. however SVG doesn't use the same nomenclature as the DOM. So for example it's not el.className but el.className.baseVal for SVG elements.