add asserts for broken dom stuff
fix element tracking due to dom bug
Release 0.2.4
Automatically rewritten for npm.