Create scheduler.js

initial commit