From reading `map.js` we already know it is hard to maintain in the long-term. This is it visualised with `js2flowchart`, which makes it a bit more apparent, seen from a functional programming point of view: 
From reading
map.jswe already know it is hard to maintain in the long-term.This is it visualised with
js2flowchart, which makes it a bit more apparent, seen from a functional programming point of view: