TIL: convert a string into an array of words in JS