CLI: tokenizer, normalizer and comparator can be provided as JavaScript functions