[javascript] How do I replace all line breaks in a string with <br /> elements?