Create Primality.js