added timetable with javascript, but unable to post date and show date