Moved map init and data to map.js