added Memory.nodes for storing DOM places