created a map.js
made updataeds in my main.js and index.html