convert timetable html to document(DOM)