Make base schedule DST aware. Dom manipulation bug fix

- Fix bad check in add_class and remove_class