refactored how WorldMap and CityMap were called.
adding Jasmine testing