moved all maps javascript in main.js