Fixes a lot of stuff.

Fixes #20, #8, #6
Merge branch 'master' of https://github.com/skepticfx/Dom-Storm