fix #13: '"Uncaught SyntaxError" while parsing message with new line char'