Delete In String Javascript Substring Negative Feedback