A implementation of browser-dom for server to share with socket-clients (see my next project socketdom)