seperated dom nodes from config object