oppgave2: use primes with jquery ajax call