Add 'Today' button in Kalendae datepicker popover

In our current app we are using kalendae datepicker plugin. Lately, we wanted to add a 'today' button that is visible to the user in all the datepicker popovers(used for numerous date fields throughout the app). As the name suggests on clicking this button, the current date gets selected and is displayed in the corresponding field. Github link of kalendae - https://github.com/ChiperSoft/Kalendae We can do this by writing function to add button in popup and then we can use it wherever we need. function setTodaysDate(kalendae_popup){ var inputToAdd = $("", { type : "button", id : "set_today_date"