index.js: Only return on error
parser.js: removed assertions to arrays

remove NOTE