One more things - Is it possible to have any potential problem with constructiuon like:
arayColl.addItem({name:"Name", value:23}); ? in favor of following piece of code: var myObj = new MyObj(); myObj.name = "Name"; myObj.value = 23; arayColl.addItem(myObj); ?