simple log parses in node js