fix and add events

think I fixed the leaflet link and tried to add a couple of events.