Trying to solve Project Euler prolems with JavaScript