javascript parser for thesis project of J. Dijkstra