To do so `Metadata.AbstractEditor` (that is stored in the `js/views/metadata.js` now) should be moved to separate file. In this case, circular dependency will be avoided.