Watersmart 398

Is there any way for you to move this shared functionality out of workflow-specific map services and into the shared BaseMap.js?