adding parent and domParent to childrens prototype