The camelcase was quite confusing. Since the above example used uiConfig.calendar. But below we called calendarOptions.