Update leafletEvents.js

Removed leafletScope leaking into the window object