works on http://pegjs.majda.cz/online but not browser yet