Tested and fixed parser.js Fixes #20