adjustments to javascript on dear mayor map