javascript createtextnode with line break code example
Example: javascript create element in a new line
var br = document.createElement("br");
element.appendChild(br);
var br = document.createElement("br");
element.appendChild(br);