lists.js: add "errors" handling