Update datedocket.js

- Reapplied and completed previous revamp after repository reset