Fix fromDom

Fix to create attributes and children of Virtual DOM
from real DOM