Solutions to my Project Euler problems. Javascript.