reflect parser refactor in parse.js