migrating more JS specs to jasmine 2.0 and fixing project spec