made map.js async thgouth window.onload