chpwd.js: Provide the CAPTUREP argument to `addEventListener'.