Fixes Scheduler.js. TestScheduler.js now runs.