No idea if these changes even work
Merge pull request #1 from madkat/master

SnooDom changes