Adding the css and js for datepicker might make it work a little better aswell