>From your code it seems that you are calling:
self.NameProperty = self.Name();
too early (before the "Contacts" object is created).
Try changing the order of the calls as follows:
self.m_strObjId = "";
self.init();
self.NameProperty = self.Name();
Hope this helps,
Amnon