add manner to compare JS divergences