Bootstrap Datepicker updated.

Compatibility with older version maintained.