fix newline in html content -> javascript error