Fix issue with closing the iterator too early
static-ify
Store map in native context and use InObjectPropertyAtPut
Handle-ify and UsedCapacity