update customDelegator.js to pull in changes from CWRC-Writer delegator.js