Restore mistakenly-removed attribute needed by bootstrap-datepicker

Fixes #1725