createing a load map and units function for jasmine.