add support for better-dom 0.9.6