Make this work on old leaflet too. Thanks @nkovacs
Update build