remove calls to legacy edit-doc.js