python+js scheduler