refactor out Object.create in component and viewmodel
replace some object.creates with object copys in view