calendar months php+js nav fix