Update parser.js

parse function should not throw errors