started refactoring schedule js