adding the ref bootstrap datepicker