Update and rename mainCode.js to mapNav.js