add a js to write out first 100 primes into file.