My attempts at project euler's problems using java script.