#91122Introduce DocumentService as JQuery.ready substitute
Description
DocumentService provides native JavaScript functions to detect DOM ready-state using a Promise.
$(document).ready(() => {...});
can be replaced by
import documentService = require('TYPO3/CMS/Core/DocumentService');
documentService.onReady().then(() => {...});