delete <br> in x.innerHTML