Scheduler agent for JS