how about just:
```javascript
L.Map.addInitHook(function () {
    var options = this.options.editInOSMControlOptions || {};
    this.editInOSMControl = (new L.Control.EditInOSM(options)).addTo(this);
});
```
?
This way by including the `Leaflet.EditInOSM.js` script tag, the plugin will load with defaults.