Replace internal scheduler with DOMScheduler package