reconstract the selectable map, js and css are seperated from html