migrating JS specs to jasmine 2.0