Fixes a bug with the datepicker and non-loaded defaults

The datepicker defaults weren't loaded due to a wrong references in the
coffee file. This commit fixes that issue.