Using Reduce Method Javascript Substring Negative Emotions