added support for extra attributes

Added support for singleDatePicker, showDropdowns and showWeekNumbers.