Revert "Update primes.js"

This reverts commit 39a011b1c4c7a8150b6e4f42f5837cbeec71cd14.
Revert "Revert "Update primes.js""

This reverts commit f49bce6e1585ee73174f413c146199327fb064bb.