Javascript Create Table From Array To Hashmap Internal Architecture