Use editable#attachListener rather than manually listeners with editor#on.
Reset function is no longer needed.