Find Index Of Multiple Substring In Javascript