Fix for jasmine 2.0