cleaning html for visualization of map