update to better-dom 2
drop redundant code
update demo