Javascript Array Is Not Iterable Javascript Map Object