Javascript Remove Line Breaks And Whitespace