Delete unused elements in calendar html