Find The Shortest Word In A String Javascript