Insert most and least similar contour primes in webpage