primeCheck.js & piGenerator.js

Implemented retarded-user detection in primeGenerator. Formatting
changes.