extra js snippet for map marker