Fixed bootstrap and datepicker in def