created map.js for all map related scripts