migrating more JS specs to jasmine 2.0