rebuild dom to use an array-like object
Merge pull request #65 from chemzqm/master

rebuild dom to use an array-like object