Cranking out JS solutions to Project Euler