Move initializeMap to bottom in Scripts template