fixed JS for no event days