Added sieve of eratosthenes implementation in JavaScript