My comment is the same as before: the wavesurfer object shouldn't know anything about marks implementation. We should pass the mark id as the event argument instead.