fix issue #158

This issue is actually coming from the JS grammar that I used from the PEG.js repository. The problem has actually been fixed a while ago in this repo - so I just copied the fix.

I noticed however that more changes have been done by D. Majda - so it would be good to take some time to fully resynchronize with D. Majda's changes.