added code for DOM
Merge branch 'master' of https://github.com/abolinsky/habit