Added sum target JS version using indexOf search to determine if remaining value exists in list.