project euler programs javascript