errors.js: fix typo in comment