pass key to dom generator function
delete elements
0.2.0