Bootstrap Datepicker updated to latest version.
Compatibility with older version maintained.