Mainpage calendar js fixed