Minor improvements to primes js code
Add build status badge to README