dom-node-appear - fixing the problem  with object inheritance