Tackling Project Euler problems using javascript and ruby.