Small addition of functions to Datepicker UI plugin at register view