deleted "removed = source.splice(index, 1)[0];"

removed duplicate manipulation of source array which was causing a second item to be unnecessarily removed in function removeItemAt()
1 file changed