moved most parts of the map visualization to the mymap.js file