Update schedule.jsp

Updated with the javascript from the javascript schedule html file I've been testing.