Create remainsched.js