Restore mistakenly-removed attribute needed by bootstrap-datepicker

Fixes #1725
Misguided cleanup. Restored.