fixed dates not displaying in firefox. Started integrating calendar into old version