add firstDayPosition and monthDays functions to JSON Event Calendar