Project Euler Solutions in Javascript for practice