added support for jasmine 2.0, breaking change