index.js: replaced return [err] with callback
parser.js: replaced error return expects