Created schedule
Cleaned up code in app.jsjs