refactor(dom) loadSocket: socket -> dom