Find the prime numbers from 1 to n
The primes.js works very similar to the ruby script, but you get buttons to increase the primes you want to view.
It gives a basic table representation in the dom while the ruby script gives a table on command line.