Added the Generic way for adding the datepicker options