Project Euler Solutions In Javascript