Remove unsed html code from calender