device calender functional, no javascript