refactor comparators: avoid ajax, configuration now in JS, now synchronous vocabulary