Fixed map's JavaScript code to work with world.xml regardless of country layout