changed to grid system, moved javascript to map.js