changed newline so it wasn't os specific since this is going to a browser.