Custom Element for DateRange, coded using x-tag library