Koara parser, written in Javascript