before conversion to using JSON for worldmap+layers+sliders