結果 : replace new line with empty string javascript