(#60) deprecated dom.ensureRenderingAndApplyFunction