Fixed missing extend() method when leaflet.draw plugin is not used

Fixes issue #2