Removed the __proto__ property

Hi. I was reading your code and saw that you were mutating the Prototype of the err Object from Error to SyntaxError. After reading https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto I tried to make all tests pass without that mutation and came with this solution.
Maybe I'm missing something really obvious for this mutation...