parser.js: apply the same style to console logs