Remove unused ids
Make application of location handler optional.
Add another demo.
Add option to call node callback for tagged nodes only.

In many cases we are definitely not interested in nodes without any tags (which
are the majority of nodes). The call from C++ into Javascript is quite
expensive, so this optimization helps a lot.