added parser.js and test.prg