Fix filter_and_accumulate() and use VARCHAR for long ids.
Use string columns for node ids in js examples