'wip' plugin enabled resort rendering
extract common dom related methods