javascriptifying the schedule grids.