initial alrogithm of improved DOM.emmet
minor improvements in DOM.emmet
value shortcut should accept function
minor fixes and cleanup