Correct newlines in JS.