upgrading to jasmine 1.3.1
some clean-up to implementation and tests
simple clean-up