add js for popup list of areas. Also remove some hardcoded urls