Fix DOM detection
0.1.2