Fixed js error on months pages.