Move mapConfig object to the HTML file