Now hiding .datepicker-format elements when the datepicker polyfill is not loaded

Fixes #1170.