Add a ui.js file and test loading schedule.json in it