issue #3836 Refactor Scheduler. Delete some common functions. Rename some common functions then move them to CCCommon.js.
Merge pull request #1524 from SmallAiTT/3836_scheduler

issue #3836 Refactor Scheduler. Delete some common functions. Rename som...