Added "mapLoad" event to envelopeSelector.js.