fixed a spelling error in fn.js, added errorHandler to Timetable