Approaching the Project Euler problems with TDD using JavaScript and Jasmine