updated for jasmine 2.0