Fixing JS divergence implementation, correctly naming the previous JS implementation to J-divergence.