be more precise about node types in Mojo::DOM