euler3

My attempts at using js to solve Euler Project#3