Erase newline js