fixed all problems with hiddenDates EXCEPT moment on firefox