GainText parser using node.js