Jquery datepicker with multiple functionality.