This applies some changes to the module after migration, to conform new
guidelines and conventions for version 11.0.
In addition, this applies the following fixes:
- The widged didn't work when the field was a `datetime` due to a typo
in a JS conditional
- Replaced `Object.assign()` -> `_.assign()` to improve
browser-compatibility