fix date fields/js-component