feat(src/parser.js): Made parser.js work properly